<template>
  <div id="app">
    <router-view />
  </div>
</template>
<script>
export default {
  async created() {
    //window.addEventListener('beforeunload', e =>this.test(e))
  },
  data() {
    return {};
  },
  methods: {
    test(e) {
      if (localStorage.getItem("GDH_WATER_TOKEN")) {
        //this.$utils.setCurrentInfo();
      }
    },
  },
};
</script>

<style lang="less">
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  height: 100vh;
  background-color: @kr-main-bgcolor;
}
.confirmBtn{
  background-color: #EF4C4C !important;
}
</style>